﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace COFE.Core.Actions
{
    /// <summary>
    /// For test purpose, this workprogress does not report anything.
    /// </summary>
    public class NullWorkProgress : IWorkProgress
    {
        private NullWorkProgress()
        {

        }

        public static NullWorkProgress Create()
        {
            return new NullWorkProgress();
        }

        public IWork Work { get { return null; } }        
        
        public bool OnWorkMessage(WorkMessageEventArgs e)
        {
            return true;
        }

        public bool OnWorkProgress(WorkProgressEventArgs e)
        {
            return true;
        }

        public void CheckPause()
        {
            
        }
    }
}
